extern void correctXY(double x, double y, double *x_correct, double *y_correct);